home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / gfaq.xml < prev    next >
Text File  |  2002-08-30  |  3KB  |  73 lines

  1. <search function="gfaq">
  2.   <name>Gamefaqs.com</name>
  3.   <description>
  4.     Search for FAQs and walkthroughs on GameFAQs.com<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.       <table class="helpboxDescTable">
  7.           <tr><td>/all</td><td> - </td><td>Search for game on all platforms (default).</td></tr>
  8.           <tr><td>/dc</td><td> - </td><td>Search for Sega Dreamcast games only.</td></tr>
  9.           <tr><td>/pc</td><td> - </td><td>Search for PC games only.</td></tr>
  10.           <tr><td>/psx</td><td> - </td><td>Search for Sony Playstation games only.</td></tr>
  11.           <tr><td>/ps2</td><td> - </td><td>Search for Sony Playstation 2 games only.</td></tr>
  12.           <tr><td>/xbox</td><td> - </td><td>Search for Microsoft Xbox games only.</td></tr>
  13.           <tr><td>/gc</td><td> - </td><td>Search for Nintendo Gamecube games only.</td></tr>
  14.           <tr><td>/n64</td><td> - </td><td>Search for Nintendo 64 games only.</td></tr>
  15.        </table>
  16.     <div class="helpboxDescLabels">Examples:</div>
  17.     <table class="helpboxDescTable">
  18.           <tr><td>gfaq Medal of Honor</td></tr>
  19.           <tr><td>gfaq max payne /pc</td></tr>
  20.           <tr><td>gfaq fishing /dc</td></tr>
  21.       </table>
  22.   </description>
  23.   <category>Entertainment</category>
  24.   <link>http://www.gamefaqs.com/</link>
  25.   <contributor>Casper Kvan Clausen</contributor>
  26.   
  27.   <form name="gfaqf" action="http://www.gamefaqs.com/search/index.asp"
  28.         method="post">
  29.     <input type="hidden" name="system"/>
  30.     <input type="hidden" name="game"/>
  31.     <input type="hidden" name="sub"/>
  32.   </form>
  33.   
  34.   <script><![CDATA[
  35.     function gfaq(q)
  36.     {
  37.       var args = parseArgs(q,"dc, gc, pc, psx, ps2, xbox, n64, all");
  38.       if( nullArgs("gfaq",q) )
  39.         return false;
  40.       else if( args.switches.length == 1 )
  41.       {
  42.         switch( args.switches[0].name )
  43.         {
  44.           case "dc": document.gfaqf.system.value = "49"; break;
  45.           case "gc": document.gfaqf.system.value = "65"; break;
  46.           case "pc": document.gfaqf.system.value = "36"; break;
  47.           case "psx": document.gfaqf.system.value = "3"; break;
  48.           case "ps2": document.gfaqf.system.value = "61"; break;
  49.           case "xbox": document.gfaqf.system.value = "66"; break;
  50.           case "n64": document.gfaqf.system.value = "10"; break;
  51.           case "all": document.gfaqf.system.value = "0"; break;
  52.         }
  53.         document.gfaqf.game.value = args.q;
  54.         document.gfaqf.sub.value = "Search GameFAQs";
  55.         submitForm(gfaqf);
  56.       }
  57.       else
  58.       {
  59.         document.gfaqf.system.value = "0";
  60.         document.gfaqf.game.value = args.q;
  61.         document.gfaqf.sub.value = "Search GameFAQs";
  62.         submitForm(gfaqf);
  63.       }
  64.     }
  65.   ]]></script>
  66.  
  67.   <copyright>
  68.     Copyright (c) 2002 David Bau
  69.     Distributed under the terms of the
  70.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  71.   </copyright>
  72. </search>
  73.